const baseSize = 32

function setFont() {
    let html = document.documentElement;
    let cliWidth = html.clientWidth;
    html.style.fontSize = 10 * (cliWidth / 1440) + 'px';
}

setFont();
window.onresize = function () {
    setFont();
}
